package com.resou.reader.bookdetail.listener;

import com.resou.reader.api.entry.BookDetailBean;

public interface OnRequestBookDetailListener {

    /**
     * @param bean          根据bookId返回的Book详情
     * @param isInBookShelf 是否在书架上
     */
    void onSuccess(BookDetailBean bean, boolean isInBookShelf);

    void onError(Throwable e);
}
